<ui:composition 
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    <div align="center">
        <h3>MENU NAGUSIA</h3>  

        <h:form>
            <p:growl id="messages"/>  <!-- Menuarekin joan behar da-->

            <p:menu type="tiered">  

                <p:submenu label="Sarrera" > 
                    <p:menuitem value="Hasiera" url="./faces/index.xhtml"  />  
                    <p:menuitem value="Kokapena" url="./faces/kokapena.xhtml"  />  
                </p:submenu>  

                <p:submenu label="Instalazioak">  
                    <p:menuitem value="Igerilekua" url="./faces/igerilekua.xhtml" />
                    <p:menuitem value="Gimnasioa" url="./faces/gimnasioa.xhtml" />
                    <p:menuitem value="Bestelakoak" url="./faces/bestelakoak.xhtml" /> 
                </p:submenu>  

                <p:submenu label="Kurtsoak" >                     
                    <p:menuitem value="Kurtsoei buruzko informazioa" url="./faces/kurtsoak.xhtml" />  
                </p:submenu>  

                <p:submenu label="Tarifak">  
                    <p:menuitem value="Ikusi" url="./faces/tarifak.xhtml" />    
                </p:submenu>  
            </p:menu>  
        </h:form>

        <h3>EGUTEGIA</h3>  

        <p:calendar mode="inline"/>
           

    </div>
</ui:composition>